Skip to content

Commit

Permalink
Use console.trace to get line num in Networks.use
Browse files Browse the repository at this point in the history
  • Loading branch information
pselden committed Feb 18, 2020
1 parent 7ea6cac commit 12fb5df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/network.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ export class Network {
* @returns {void}
*/
static use(network) {
console.warn(
console.trace(
'Global class `Network` is deprecated. Please pass explicit argument instead, e.g. `new Transaction(envelope, Networks.PUBLIC)` (see https://git.io/fj9fG for more info).'
);

Expand Down

0 comments on commit 12fb5df

Please sign in to comment.