diff --git a/includes/bootstrap.inc b/includes/bootstrap.inc
index 744fc8f..a8c3cf8 100644
--- a/includes/bootstrap.inc
+++ b/includes/bootstrap.inc
@@ -864,6 +864,9 @@ function drupal_get_filename($type, $name, $filename = NULL) {
         if ($file !== FALSE && file_exists(DRUPAL_ROOT . '/' . $file)) {
           $files[$type][$name] = $file;
         }
+        else {
+          watchdog('bootstrap', 'Bootstrap could not locate file @name of type @type in the database.', array('@name' => $name, '@type' => $type), WATCHDOG_WARNING);
+        }
       }
     }
     catch (Exception $e) {
