This adds more logging to `CheckWeight` to get a better understanding why a transaction exhausts resources.