Fixed errors

Change-Id: I29961ccd39bd3847e911bfb884e0d66953ed2f4d
Signed-off-by: smarcet <smarcet@gmail.com>
This commit is contained in:
smarcet 2020-09-21 16:07:58 -03:00
parent 7a6716ec26
commit 0878a69672
2 changed files with 12 additions and 2 deletions

View File

@ -42,6 +42,11 @@ class PublishUserCreated implements ShouldQueue
{
Log::debug(sprintf("PublishUserCreated::handle user created %s %s", $this->user_id, $this->user_email));
try {
$service->registerExternalUserById($this->user_id);
}
catch (\Exception $ex){
Log::error($ex);
}
}
}

View File

@ -42,6 +42,11 @@ class PublishUserUpdated implements ShouldQueue
{
Log::debug(sprintf("PublishUserUpdated::handle user updated %s %s", $this->user_id, $this->user_email));
try {
$service->registerExternalUserById($this->user_id);
}
catch (\Exception $ex){
Log::error($ex);
}
}
}