Skip to content

Commit

Permalink
Merge 502ec8e into bd19954
Browse files Browse the repository at this point in the history
  • Loading branch information
antonioribeiro committed Dec 2, 2021
2 parents bd19954 + 502ec8e commit 2f11d12
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/Support/Resource.php
Original file line number Diff line number Diff line change
Expand Up @@ -142,9 +142,8 @@ public static function factory(Collection $data)
$instance->executable = isset($data['executable']) ? $data['executable'] : null;

$instance->importProperties($data);
} catch (\Throwable $exception)
{
$instance->internal_error = "Error instantiating resource: ".$exception->getMessage().". Please check the resource configuration file.";
} catch (\Throwable $exception) {
$instance->internal_error = 'Error instantiating resource: '.$exception->getMessage().'. Please check the resource configuration file.';
}

return $instance;
Expand Down

0 comments on commit 2f11d12

Please sign in to comment.