Skip to content
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: Logs not written to filesystem as printed #5515

Open
hrueger opened this issue Apr 4, 2024 · 0 comments
Open

🐛 BUG: Logs not written to filesystem as printed #5515

hrueger opened this issue Apr 4, 2024 · 0 comments
Labels
bug Something that isn't working error-messaging Improving user facing error messages

Comments

@hrueger
Copy link

hrueger commented Apr 4, 2024

Which Cloudflare product(s) does this pertain to?

Other

What version(s) of the tool(s) are you using?

3.47.0 [wrangler]

What version of Node are you using?

20.12.1

What operating system and version are you using?

macOS Sonoma 14.4.1

Describe the Bug

Observed behavior

When running a wrong wrangler command which throws an error, it prints Logs were written to "/Users/[myUsername/]Library/Preferences/.wrangler/logs/wrangler-[timestamp].log.
However, with some commands that file is not being written...

Expected behavior

The log file is written or - if there are no useful logs - the message is not printed.

Steps to reproduce

Just run npx wrangler pages deploy --debug. As --debug does not exist, an error is thrown and the log info is printed at tbe bottom of the output. However, that file does not exist.

Please provide a link to a minimal reproduction

No response

Please provide any relevant error logs

No response

@hrueger hrueger added the bug Something that isn't working label Apr 4, 2024
@lrapoport-cf lrapoport-cf added the error-messaging Improving user facing error messages label Oct 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something that isn't working error-messaging Improving user facing error messages
Projects
Status: Backlog
Development

No branches or pull requests

2 participants