fix wrong log message if compiling dart fails