Detect and log load errors

@kadst43 @eric79 this will detect load errors, log a message to the console, and abort the fragment of the operation that failed.

The error needs to be handled better at the top. Maybe we shouldn't try to resume the operation yet, but let it still hang but with a message on the console now.