You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Arguably, the Clojure best practice is to propagate and/or enrich exceptions rather than stopping them and printing a reduced version of them, not only to ease this sort of investigation, but also to some that programs fail early rather than continue down an incorrect execution path. Do you agree this would be an improvement? I would suggest something like:
Hi @lambdatronic, it just took me quite some effort to trace an error to https://github.com/sig-gis/magellan/blob/main/src/magellan/core.clj#L193 due to the loss of information in this
(println "Cannot write raster. Exception:" (class e))
.Arguably, the Clojure best practice is to propagate and/or enrich exceptions rather than stopping them and printing a reduced version of them, not only to ease this sort of investigation, but also to some that programs fail early rather than continue down an incorrect execution path. Do you agree this would be an improvement? I would suggest something like:
Thanks!
The text was updated successfully, but these errors were encountered: