Fix for Issue #23

updateLogs parses the log for the character '!'. However some warnings
also produce an '!' in the LaTeX log output.
Only checking for the response.errors.length makes sure that the pdf is
displayed if warnings occur.