Skip to content

Commit f2fbf90

Browse files
committed
feat: report generic error instead of network error
1 parent e82e673 commit f2fbf90

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ class Saturn {
7777
}
7878
} catch (err) {
7979
if (!res) {
80-
log.ifNetworkError = err.message
80+
log.error = err.message
8181
}
8282
// Report now if error, otherwise report after download is done.
8383
this._finalizeLog(log)

0 commit comments

Comments
 (0)