main: print a critical warning when database creation fails

Like we do in the GET method.