Skip to content

Ethers unhandled error when using a random non-OA JSON file #556

@gjj

Description

@gjj

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.

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.

image

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. 😄

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions