mirror of
https://github.com/rstudio/shiny.git
synced 2026-04-07 03:00:20 -04:00
Capture and display coordmap errors
This commit is contained in:
@@ -143,6 +143,9 @@ $.extend(imageOutputBinding, {
|
||||
|
||||
if (img)
|
||||
$el.append(img);
|
||||
|
||||
if (data.error)
|
||||
console.log('Error on server extracting coordmap: ' + data.error);
|
||||
}
|
||||
});
|
||||
outputBindings.register(imageOutputBinding, 'shiny.imageOutput');
|
||||
|
||||
Reference in New Issue
Block a user