Receiving generic error response when saving a class or page that contains errors

Issue #495 resolved
John De Santiago created an issue

Not entirely user how to reproduce. It seems I was once able to get error messages back and then at some point they stopped in place of a generic error message. I have copied and pasted my code to Salesforce to see what the error message actually is and it varies from misspellings, invalid method calls, syntax errors, etc.

So far this has happened on two different projects. One pointed to a developer instance and the other a sandbox environment.

I enabled logging and attached is the log after I receive the error.

Comments (7)

  1. Scott Wells repo owner

    Thanks, John. I did make a change in this area so it's likely this one is on me. Let me try to reproduce it a bit and if I'm unable to do so, I'll try to work with you to get a reproducible case.

  2. Scott Wells repo owner

    Okay, it's trivial to reproduce and it is a side-effect of my recent change. Shame on me for not testing it better. I'll issue a fix very soon.

  3. John De Santiago reporter

    Thanks! I updated and everything is indeed resolved. Thanks so much for you help with the issues I reported. Really appreciate the work you put into this.

  4. Log in to comment