[sr-dev] git:4.0: usrloc: fix crash while printing error log