Catch exceptions while profile saving

I have kernel event subscriber what depends on templating.helper.assets and have scope "request". and it's broke my profiler. Several cups of coffee and I found an error - exception while profile saves with message 'You cannot create a service "my.subscriber"'. This commit makes debugging easier.