File tree 1 file changed +3
-1
lines changed 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change 11
11
import subprocess
12
12
13
13
14
- logging .basicConfig (level = logging .DEBUG , format = '%(asctime)s - %(levelname)s - %(message)s' )
14
+ logging .basicConfig (level = logging .INFO , format = '%(asctime)s - %(levelname)s - %(message)s' )
15
15
md = markdown .Markdown (extensions = ['meta' , 'footnotes' ])
16
16
17
17
packages = {
@@ -50,6 +50,7 @@ def image_from_cell(cell):
50
50
except KeyError as e :
51
51
logging .error ("Can't find image in cell: %s" , cell ['source' ])
52
52
raise e
53
+ raise Exception ("Can't find an image in cell %s" , cell ['source' ])
53
54
54
55
55
56
def source_from_cell (cell ):
@@ -83,6 +84,7 @@ def data_from_cell(cell):
83
84
except KeyError as e :
84
85
logging .error ("Can't find data in cell: %s" , cell ['source' ])
85
86
raise e
87
+ raise Exception ("Can't find an dataset in cell %s" , cell ['source' ])
86
88
87
89
88
90
def reorder_meta (meta ):
You can’t perform that action at this time.
0 commit comments