• Kirill Smelkov's avatar
    raiseif: Fix it wrt erraddcallingcontext() · 302aaaea
    Kirill Smelkov authored
    erraddcallingcontext() already tries not to go beyond raise, but since
    raiseif wes calling raise, it was omitting raiseif but not raise itself.
    So an error could be like this
    
        cmd_restore: raiseif: mkdir ../R/1: file exists
    
    while it should be
    
        cmd_restore: mkdir ../R/1: file exists
    
    Fix it.
    302aaaea
error.go 6.16 KB