kezhenxu94 commented on pull request #54:
URL: https://github.com/apache/skywalking-nodejs/pull/54#issuecomment-876234707


   I think you don't understand how to report a potential bug in an open source 
project and how to help the maintainer to locate it, only providing a error 
message helps nothing, you don't have a reproducible demo project, nor did you 
show the Efforts you've made to debug the problem, we are powerless to waste 
our time to debug this problem as we don't even know whether it's a bug or not 
because you gave no useful reproducible steps. This plugin is run in our tests 
with a typical scenario and it passed, if your scenario is different with it 
you have to provide your scenario in more details, otherwise we are not able to 
do anything.
   
   We've been asking for more details but you always paste the same error logs, 
this is a waste of time and useless communication.
   
   > > @riskgod can you print the error in
   > > 
https://github.com/apache/skywalking-nodejs/blob/babf6ebc0022909ef1bb865764045c7ce62c3b1c/src/core/PluginInstaller.ts#L109
   > > 
   > > in your local env to see what's the error?
   > 
   > 'Error installing plugin mysql 2 *'
   
   If you still want to help, try to print the `e` 
   
   
https://github.com/apache/skywalking-nodejs/blob/babf6ebc0022909ef1bb865764045c7ce62c3b1c/src/core/PluginInstaller.ts#L107-L113
   
   Something like this 
   
   ```typescript
         } catch (e) {
           if (plugin) {
             logger.error(`Error installing plugin ${plugin.module} 
${plugin.versions}`, e); // <<===== 👈
           } else {
             logger.error(`Error processing plugin ${pluginFile}`);
           }
         }
   ```
   
   ... to see why the plugin is not installed successfully.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to