TheRosettaFoundation / SOLAS-Match

Self-managed translation project interface
www.TheRosettaFoundation.org
GNU Lesser General Public License v3.0
12 stars 8 forks source link

Remove annoying exception from error log #1269

Closed alanbarrett closed 7 years ago

alanbarrett commented 7 years ago

Remove annoying exception from error log.

This is always output when a user looks at someone else's profile by following code... catch (Common\Exceptions\SolasMatchException $e) { error_log("Error getting user personal info: $e"); }

But the personal info is not supposed to be displayed, so this exception is perfectly OK (if a slight overhead) and should not be put in error log.

Alan.
alanbarrett commented 7 years ago

Resolved by commit d92cd02ae77d46aef67f1b929e1c72d7d4278fdb

Alan.