Refactoring set temp to work with the prontserve logError exceptions