Hi Guys
I'm new to this forum, so don't shoot me if i posted in the wrong place.
I have a springBoot app that uses a modelAttribute to return a message when an error occurs while login in.
Everything is working fine, but something bugs me. The error message is concatenated together.
I wan't to add some line separators to the errormessage.
I've tried System.lineSeparator(), \n an <break> but nothing seems to work.
I use a stringBuilder to build the message and then call the to string message when adding the attribute to the model.
Any tips?