]> SALOME platform Git repositories - plugins/blsurfplugin.git/commitdiff
Salome HOME
0021500: EDF 2134 BLSURFPLUGIN: Error message when a problem occurs with the distene...
authoreap <eap@opencascade.com>
Wed, 29 Feb 2012 10:18:31 +0000 (10:18 +0000)
committereap <eap@opencascade.com>
Wed, 29 Feb 2012 10:18:31 +0000 (10:18 +0000)
src/BLSURFPlugin/BLSURFPlugin_BLSURF.cxx

index 0e5c1aac749ef9987c18569e1ff53ee9886beb19..82511ac67d05754d7f5e4f54566cce2a7fa8022b 100644 (file)
@@ -2201,7 +2201,8 @@ status_t message_cb(message_t *msg, void *user_data)
   char *desc;
   message_get_number(msg, &errnumber);
   message_get_description(msg, &desc);
-  if ( errnumber < 0 ) {
+  string err( desc );
+  if ( errnumber < 0 || err.find("license") != string::npos ) {
     string * error = (string*)user_data;
 //   if ( !error->empty() )
 //     *error += "\n";