From 0cc8a3e86ebc855b0849e6aa63a3ffd6432593e0 Mon Sep 17 00:00:00 2001 From: Pierre Colle Date: Thu, 31 Aug 2017 16:10:18 +0200 Subject: [PATCH] error message --- lib/opencv.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/opencv.js b/lib/opencv.js index 283dc8a..8007e61 100755 --- a/lib/opencv.js +++ b/lib/opencv.js @@ -74,7 +74,7 @@ var getBufferMethodName = function(bytes, dataType, endianness, read){ } else if(bytes === 16){ fnName += (dataType === "U" ? "U" : "")+"Int16"+endianness; } else { - throw("This matrix type ("+type+") is not compatible with fromArray, you can implement if you need it") + throw("This matrix type ( CV_"+bytes+dataType+") is not compatible with fromArray, you can implement if you need it") } return fnName; };