Certain kind of errors in the log should make the build fail

Signed-off-by: emanuele <emanuele45@gmail.com>