Closed asbng closed 2 months ago
Not directly related to this PR , but do we always want to explicitly pass a logger? Can't we just set a default logger?
Feel free to.
I do, however, think that it doesn't hurt explicitly printing to the logger that the error originates from. Explicit over implicit, as long as productivity doesn't suffer (and specifying logger
was a no-brainer in this PR's code). It is reasonable to have a default fallback where a logger is not at hand though.
Unified error messages to be presented using
handleError()
. The deprecatedDeno.run
was replaced in favor ofDeno.Command
which is the way to move forward with Deno 2.0.Fixes #145 .