T
This commit is contained in:
+2
-2
@@ -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());
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user