fix multiple deployment due to Bitbucket retry
fix #439 to ensure exception from controller trace