Compiling errors not shown

Subject of the issue

There is no feedback when saving code that doesnt compile properly.

Your environment

Chrome

Steps to reproduce

e.g. Save incorrect custom code
Applies to other objects as well; jobs etc.

Expected behaviour

Return error message e.g.

  File "main.py", line 273                                                                                                                             

    def get_charging_normal():                                                                                                                    
      ^                                                                                                                                                                            
SyntaxError: invalid syntax                                                                                                                                                        
...Program finished with exit code 1

Actual behaviour

Nothing happens, it gets saved with no errors