/controllers/: added error printing in case of an error