Skip to content

Commit 24bbaf9

Browse files
committed
Adding a catch for another error path
1 parent 4556fcc commit 24bbaf9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/generator.js

+1
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ var generate = bluebird.promisify(function(
2525
request({uri: cssUrl, timeout: 10000})
2626
.on('error', callback)
2727
.pipe(fs.createWriteStream(tmpPath))
28+
.on('error', callback)
2829
.on('close', function() {
2930
penthouse(
3031
extend(options, {

0 commit comments

Comments
 (0)