Ignore:
Timestamp:
Sep 26, 2018 5:07:03 PM (6 years ago)
Author:
krzywon
Branches:
master, magnetic_scatt, release-4.2.2, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, unittest-saveload
Children:
0863065
Parents:
7ab3b79b
Message:

Keep file loader errors for each file together and separate files from one another.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/sas/sasgui/guiframe/local_perspectives/data_loader/data_loader.py

    r7ab3b79b r9c7e2b8  
    205205            except NoKnownLoaderException as e: 
    206206                exception_occurred = True 
    207                 error_message = "Loading data failed!\n" + e.message 
     207                error_message = "Loading data failed!" + e.message 
    208208                file_errors[basename] = [error_message] 
    209209            except Exception as e: 
     
    224224                for message in error_array: 
    225225                    error_message += message + "\n" 
    226                 error_message = error_message[:-1] 
    227226            self.load_complete(output=output, 
    228227                               message=error_message, 
Note: See TracChangeset for help on using the changeset viewer.