-
-
Notifications
You must be signed in to change notification settings - Fork 65
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bug: Cannot log URLs #247
Labels
bug
Something isn't working
Comments
I came here to report the same issue with
|
It's solved in |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
If you attempt to log a URL, you get a variety of errors, depending on whether the URL is a top level logged item, or a field inside a logged object. Either way, it fails.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The URLs are logged without error.
Screenshots
Additional context
Seems to be a reversion of #93, but perhaps a different cause.
I have managed to hack around it with the following additions in BaseLogger.js (node_modules/tslog/dist/esm/BaseLogger.js). With this amended code, URL objects can be logged without issue.
Node.js Version
e.g. 18.16.0
OS incl. Version
macOS 13.4.1 (c)
The text was updated successfully, but these errors were encountered: