~xdavidwu/saf-cephfs

2c7f9980a5c606da22c7187af9cae2a455567899 — Pinghao Wu a month ago f8f3791
CephFSExecutor: cursor extra: fallback to class name if msg empty
1 files changed, 3 insertions(+), 1 deletions(-)

M src/main/java/org/safcephfs/CephFSExecutor.java
M src/main/java/org/safcephfs/CephFSExecutor.java => src/main/java/org/safcephfs/CephFSExecutor.java +3 -1
@@ 173,7 173,9 @@ public class CephFSExecutor {
			return execute(op);
		} catch (IOException e) {
			var extra = new Bundle();
			extra.putString(DocumentsContract.EXTRA_ERROR, e.getMessage());
			var msg = e.getMessage();
			extra.putString(DocumentsContract.EXTRA_ERROR,
				(msg != null && msg.length() != 0) ? msg : e.getClass().getName());
			c.setExtras(extra);
			return null;
		}