Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d45efa89 authored by Ronak Patel's avatar Ronak Patel
Browse files

added error

parent d12642b9
Loading
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -445,6 +445,7 @@ class UserService {
	public function setAccountDataLocally(string $uid, string $mailAddress, string $quota): void {
		$user = $this->getUser($uid);
		if (is_null($user)) {
			$this->logger->error("User with username '$uid' not found.");
			throw new Exception("User with username '$uid' not found.");
		}
		// Set the email address for the user