gl-renderer: Make the error logging a little nicer