Skip to content
Snippets Groups Projects
Commit 5d98ecf7 authored by chaerla's avatar chaerla
Browse files

feat: add soap config

parent 1b3870ac
Branches
Tags
No related merge requests found
......@@ -49,6 +49,7 @@ $config = [
],
'REST_API_URL' => $_ENV['REST_API_URL'],
'REST_API_KEY' => $_ENV['REST_API_KEY'],
'SOAP_BASE_URL' => $_ENV['SOAP_BASE_URL'],
'PHP_API_KEY' => $_ENV['PHP_API_KEY'],
'SOAP_API_KEY' => $_ENV['SOAP_API_KEY']
];
......
......@@ -30,7 +30,7 @@ class Application {
public function run() {
try {
echo $this->router->resolve();
} catch (BaseException $e) { // Catch the specific exception class you're using.
} catch (BaseException $e) {
$e->handle();
} catch (\Exception $e) {
echo $e;
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment