mirror of
https://github.com/vgough/encfs.git
synced 2024-11-25 17:33:19 +01:00
Actually print error message in withCipherPath and withFileNode
This commit is contained in:
parent
cc274dca63
commit
0053cd7a70
@ -93,7 +93,7 @@ static int withCipherPath(const char *opName, const char *path,
|
||||
} else if (!passReturnCode)
|
||||
res = ESUCCESS;
|
||||
} catch (rlog::Error &err) {
|
||||
rError("error caught in %s", opName);
|
||||
rError("withCipherPath: error caught in %s: %s", opName, err.message());
|
||||
err.log(_RLWarningChannel);
|
||||
}
|
||||
return res;
|
||||
@ -123,7 +123,7 @@ static int withFileNode(const char *opName, const char *path,
|
||||
|
||||
if (res < 0) rInfo("%s error: %s", opName, strerror(-res));
|
||||
} catch (rlog::Error &err) {
|
||||
rError("error caught in %s", opName);
|
||||
rError("withFileNode: error caught in %s: %s", opName, err.message());
|
||||
err.log(_RLWarningChannel);
|
||||
}
|
||||
return res;
|
||||
|
Loading…
Reference in New Issue
Block a user