This commit is contained in:
2026-05-22 19:25:06 +02:00
parent e7f35d71e3
commit 99a04db1c6
2 changed files with 9 additions and 4 deletions
+2 -2
View File
@@ -38,7 +38,7 @@ function init_db() {
}
}
}
} catch (PDOException $e) {
} catch (\Exception $e) {
error_log("DB Init Error: " . $e->getMessage());
}
}
@@ -70,7 +70,7 @@ function load_recipes_local(): array {
}
}
}
} catch (PDOException $e) {
} catch (\Exception $e) {
error_log("Failed to load recipes from DB: " . $e->getMessage());
}
}