#NEWLINE# def get_files( self , obj ) : #NEWLINE# #INDENT# try : #NEWLINE# #INDENT# return [ StagingFolderFileSerializer ( entry , context = obj . context ) . data for entry in obj . get_files ( ) ] #NEWLINE# #UNINDENT# except Exception as exception : #NEWLINE# #INDENT# logger . error ( 'unhandled exception: %s' , exception ) #NEWLINE# return [ ]