Skip to content
Snippets Groups Projects
Commit 77933d81 authored by Tyler Antonio's avatar Tyler Antonio
Browse files

Reverted the exceptions

parent 5b24b2e4
No related branches found
No related tags found
No related merge requests found
......@@ -126,7 +126,7 @@ class Database {
return $db;
} catch(PDOException $e){
throw new DBException("Database error: ". $e->getMessage());
throw new Exception("Database error: ". $e->getMessage());
}
}
......@@ -187,7 +187,7 @@ class Database {
return $query;
} catch (PDOException $e){
throw new DBException("Database error: ". $e->getMessage());
throw new Exception("Database error: ". $e->getMessage());
}
}
......@@ -210,7 +210,7 @@ class Database {
return $query;
} catch (PDOException $e){
throw new DBException("Database error: ". $e->getMessage());
throw new Exception("Database error: ". $e->getMessage());
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment