                     slug: app.slug
                 iconInfos = icons.getIconInfos infos
             catch err
-                console.log err
+                console.log err if process.env.NODE_ENV isnt 'test'
                 iconInfos = null
             data.iconType = iconInfos?.extension or null
             # Update access

                    app.updateAttributes data, (err) ->
                        removeAppUpdateNotification app
                        icons.save app, iconInfos, (err) ->
                            if err then console.log err.stack
                            else console.info 'icon attached'
                            manager.resetProxy callback


                                appli.updateAttributes updatedData, (err) ->
                                    return sendErrorSocket err if err?
                                    icons.save appli, iconInfos, (err) ->
                                        if err and
                                           process.env.NODE_ENV isnt 'test'
                                            console.log err.stack
                                        else console.info 'icon attached'
                                        console.info 'saved port in db', \
                                            appli.port
