Ethers unhandled error when using a random non-OA JSON file
Opened this issue · 1 comments
Recently I discovered that if I were to use a random JSON file that's not an OA document, our OpenCerts verifier will attempt to verify it. However, it will return the Whoops! It's not you, it's us
error created earlier in #544.
- Refer to this OA link to illustrate the issue.
I do recall that it wasn't the case back when we did #544, so I went back to check the deploy preview and indeed, the OpenCerts verifier back then did not attempt to verify a non-OpenCerts file.
- Refer to this OA link for an example.
The earliest deploy preview to exhibit this behaviour is #550 but not #544, it's strange because I don't see anything in #550 that caused this behaviour. Probably something that I did in #544 that caused this. Will be taking a look as I don't think we should be saying the error is caused by "us" when it's not. 😄