[Component][Profiler] Catch exceptions while profile saving

| Q             | A
| ------------- | ---
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | n/a
| License       | MIT
| Doc PR        | n/a

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.