Skip to content

Commit 3d99e2e

Browse files
authored
Merge pull request #11960 from reyoung/feature/error_str
Fix import error
2 parents 26ff5a5 + a1e88c4 commit 3d99e2e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python/paddle/fluid/framework.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
"""NOTE: You may need to run \"export LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH\"
2727
if you encounters \"libmkldnn.so not found\" errors. If you have python
2828
installed in other directory, replace \"/usr/local/lib\" with your own
29-
directory. The original error is: """ % str(e))
29+
directory. The original error is: \n""" + e.message)
3030
except Exception, e:
3131
raise e
3232
import unique_name

0 commit comments

Comments
 (0)