summaryrefslogtreecommitdiff
path: root/src/components/ScanView.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/ScanView.js')
-rw-r--r--src/components/ScanView.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/ScanView.js b/src/components/ScanView.js
index 58e3269..012a58f 100644
--- a/src/components/ScanView.js
+++ b/src/components/ScanView.js
@@ -36,7 +36,7 @@ function ScanView(props) {
setData(json.docs);
setTimestamp(new Date(json.docs.timestamp));
})
- .catch(e => props.setError(e));
+ .catch(e => props.setError(e.toString()));
}
// TODO: Trigger a real re-scan