|
@@ -198,7 +198,7 @@ class UseApiResourceTags extends Strategy
|
|
|
return $factory->make();
|
|
|
}
|
|
|
} catch (Exception $e) {
|
|
|
- c::debug("Eloquent model factory failed to instantiate {$type}; trying to fetch from database.");
|
|
|
+ c::warn("Eloquent model factory failed to instantiate {$type}; trying to fetch from database.");
|
|
|
e::dumpExceptionIfVerbose($e, true);
|
|
|
|
|
|
$instance = new $type();
|
|
@@ -211,7 +211,7 @@ class UseApiResourceTags extends Strategy
|
|
|
}
|
|
|
} catch (Exception $e) {
|
|
|
// okay, we'll stick with `new`
|
|
|
- c::debug("Failed to fetch first {$type} from database; using `new` to instantiate.");
|
|
|
+ c::warn("Failed to fetch first {$type} from database; using `new` to instantiate.");
|
|
|
e::dumpExceptionIfVerbose($e);
|
|
|
}
|
|
|
}
|