Question

Writing exception message in CSV file

  • 31 January 2023
  • 4 replies
  • 82 views

Badge

Hi, I am trying to write the exception message into a CSV file using Log To File command. While doing that, the exception message is getting inserted into two cells, rather than in a single cell itself.

 

 So can someone please let me know on how to get the exception message in single cell?


4 replies

Userlevel 5
Badge +14

@swethaparthasarathy  have you selected this ?
 

 

Userlevel 2
Badge +5

Hi @swethaparthasarathy ,

what about this one?

 

 

Userlevel 2
Badge +5

@swethaparthasarathy does my solution worked for you?

Userlevel 5
Badge +9

@swethaparthasarathy ,

Use comma (“,”) to separate every message when you create your log file and every data column between  double quotes.

HTH

Regards

Reply