Skip to content

Commit

Permalink
CouldNotLogActivity not found error fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
Ratheep committed Feb 13, 2018
1 parent 490dd1e commit 9ad36a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/AuditLogger.php
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ protected function normalizeCauser($modelOrId): Model
return $model;
}

throw CouldNotLogActivity::couldNotDetermineUser($modelOrId);
throw CouldNotLogAudit::couldNotDetermineUser($modelOrId);
}

protected function replacePlaceholders(string $description, AuditLog $activity): string
Expand Down

0 comments on commit 9ad36a2

Please sign in to comment.