Improved error reporting on svg import