Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
more verbose error messages
authorMartin Quinson <martin.quinson@loria.fr>
Thu, 2 Aug 2012 23:00:45 +0000 (01:00 +0200)
committerMartin Quinson <martin.quinson@loria.fr>
Thu, 2 Aug 2012 23:00:45 +0000 (01:00 +0200)
src/simix/smx_deployment.c

index a25155a..a62992c 100644 (file)
@@ -127,8 +127,9 @@ void SIMIX_launch_application(const char *file)
     surf_parse_close();
     xbt_assert(!parse_status, "Parse error at %s:%d", file,surf_parse_lineno);
   } CATCH(e) {
-    xbt_die("Unrecoverable error at %s:%d: %s",
-                  file, surf_parse_lineno, e.msg);
+    XBT_ERROR("Unrecoverable error at %s:%d. The full exception stack follows, in case it helps you to diagnose the problem.",
+        file, surf_parse_lineno);
+    RETHROW;
   }
 }