Improved error reporting during core context refresh