Skip to content

Commit

Permalink
Update src/Config/ConfigFile.php
Browse files Browse the repository at this point in the history
Co-authored-by: Ben Thomson <git@alfreido.com>
  • Loading branch information
jaxwilko and bennothommo authored Jul 6, 2021
1 parent d3f97e1 commit 31c405a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Config/ConfigFile.php
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ public static function read(string $file): ?ConfigFile
$ast = $parser->parse($content);
} catch (Error $e) {
// should add better handling
throw new Error($e);
throw new ApplicationException($e);
}

return new static($ast, $file);
Expand Down

0 comments on commit 31c405a

Please sign in to comment.