Fix: Indentation when throwing exception
Fix: Remove extra empty lines
Fix: Add trailing commas in array initializations
Merge branch 'cs/#6179-logger-indentation-and-trailing-commas'

Close #6179