                     app.updateAttributes data, (err) ->
                         removeAppUpdateNotification app
                         icons.save app, iconInfos, (err) ->
-                            if err then console.log err.stack
+                            if err and process.env.NODE_ENV isnt 'test'
+                                console.log err.stack
                             else console.info 'icon attached'
                             manager.resetProxy callback
 

                    slug: app.slug
                iconInfos = icons.getIconInfos infos
            catch err
                console.log err
                iconInfos = null
            data.iconType = iconInfos?.extension or null
            # Update access

                                try
                                    iconInfos = icons.getIconInfos appli
                                catch err
                                    if process.env.NODE_ENV isnt 'test'
                                        console.log err
                                    iconInfos = null
                                appli.iconType = iconInfos?.extension or null

