Skip to content

Commit

Permalink
try catch correction
Browse files Browse the repository at this point in the history
  • Loading branch information
JustinGOSSES committed Apr 11, 2020
1 parent 3ce088e commit 696140d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -1325,8 +1325,8 @@ putIncomingSparseJsonIntoPlottingTemplate: function (incoming_sparse,template){
.text(this_line["label"]);
}
}
catch{
console.log("could not do lines for tops in curveBox function")
catch (err){
console.log("could not do lines for tops in curveBox function, error: ",err)
}

////////////// Rectangles for things like cores & sample locations =>//////////////
Expand All @@ -1352,8 +1352,8 @@ putIncomingSparseJsonIntoPlottingTemplate: function (incoming_sparse,template){
.text(this_rectangle.label);
}
}
catch{
console.log("could not do rectangle in curveBox function for some reason")
catch (err){
console.log("could not do rectangle in curveBox function for some reason. error= ",err)
}

////////////// Calling node. Only returning svg node for saving single SVG file purposes =>//////////////
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "wellioviz",
"version": "0.0.21",
"version": "0.0.22",
"description": "Provides functionality to visualize well logs, particularly those already converted to JSON, using d3.js visualization library.",
"main": "dist/index.js",
"unpkg": "dist/index.js",
Expand Down

0 comments on commit 696140d

Please sign in to comment.