Skip to content

Commit

Permalink
feat: report generic error instead of network error
Browse files Browse the repository at this point in the history
  • Loading branch information
guanzo committed Oct 5, 2023
1 parent e82e673 commit f2fbf90
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ class Saturn {
}
} catch (err) {
if (!res) {
log.ifNetworkError = err.message
log.error = err.message
}
// Report now if error, otherwise report after download is done.
this._finalizeLog(log)
Expand Down

0 comments on commit f2fbf90

Please sign in to comment.