Changeset 9c7e2b8 in sasview


Ignore:
Timestamp:
Sep 26, 2018 5:07:03 PM (4 weeks ago)
Author:
krzywon
Branches:
master, gpu-options-handling, py37-all, py37-sascalc, py37-sasgui, pytest, simplify-c-build, ticket-1094-headless, ticket-1111, unittest-saveload
Children:
1dc134e
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.