appsignal/appsignal-nodejs

Add warning to diagnose if `appsignal.cjs` is not found

unflxw opened this issue · 2 comments

unflxw commented

This can help users (and us) gain some context as to why the diagnose command says their API key is not found.

For some context: we ran into a bit of confusion about this in a customer call today. The diagnose reported the API key not being found, which was caused by the appsignal.cjs file being misnamed as appsignal.js. A warning would have explained that was the case.

Linked PRs are closed. Closing the issue.