Submitted by 0xA5DF
Auction.sol#L234
The _createAuction function wraps the token.mint() call in a try-catch block, however this will only catch reverts that comes from the require keyword and not the reverts with custom errors or other kinds of errors (arithmetic over/underflow etc.)
In case of an error at the mint() function the auction wont be settled till the owner intervenes and pauses the contract.
Heres a test that proves that catch Error() doesnt catch custom errors (the test will fail):
Remove the Error so that itll catch any kind of revert:
Alex the Entreprenerd (judge) commented:
iainnash (Nouns Builder) confirmed
