Browse Source

Simpler Error text

Alejandro Rosales 1 year ago
parent
commit
a0301899e5
1 changed files with 1 additions and 1 deletions
  1. 1 1
      index.php

+ 1 - 1
index.php

@@ -24,5 +24,5 @@ try {
     echo "Current date and time: {$result['now']}";
 } catch (PDOException $e) {
     // Manejo de errores
-    echo "Error: " . $e->getMessage();
+    echo "Error: {$e->getMessage()}";
 }