Currently the error that is logged on the console is too long. It would be nice if it could be made shorter to show only relevant info.