]> git.ipfire.org Git - thirdparty/bacula.git/commitdiff
Use ERROR instead of FATAL for Meta data insertion problem
authorEric Bollengier <eric@baculasystems.com>
Mon, 26 Sep 2022 13:49:01 +0000 (15:49 +0200)
committerEric Bollengier <eric@baculasystems.com>
Thu, 14 Sep 2023 11:56:59 +0000 (13:56 +0200)
bacula/src/dird/catreq.c

index 663b881c4b0b2f4e5d9886ad3cea9944971dc7af..1a38b2336e518d65e8e2e8169f17fdbcb7e93a38 100644 (file)
@@ -668,7 +668,7 @@ static void update_attribute(JCR *jcr, char *msg, int32_t msglen)
          db_lock(jcr->db);
          if (!db_sql_query(jcr->db, val.c_str(), NULL, NULL)) {
             // TODO: Make sure the SQL query is correct, else the transaction will fail
-            Jmsg(jcr, M_FATAL, 0, _("Unable to insert Plugin metadata for FileIndex %lld. ERR=%s\n"), (int64_t)FileIndex, jcr->db->errmsg);
+            Jmsg(jcr, M_ERROR, 0, _("Unable to insert Plugin metadata for FileIndex %lld. ERR=%s\n"), (int64_t)FileIndex, jcr->db->errmsg);
             Dmsg1(50, "Unable to parse Plugin metadata err=%s\n", val.c_str());
          }
          db_unlock(jcr->db);