adds exception wrapper for better investigation