This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Refreshing Terraform state in-memory prior to plan... | |
The refreshed state will be used to calculate this plan, but will not be | |
persisted to local or remote state storage. | |
google_compute_disk.solr-backup: Refreshing state... (ID: solr-backup) | |
google_compute_http_health_check.default: Refreshing state... (ID: group-http-lb-backend-0) | |
google_compute_address.prod-win-addr[1]: Refreshing state... (ID: projects/rg-prod/regions/europe-west1/addresses/prod-win-addr-2) | |
google_compute_address.prod-cron-addr: Refreshing state... (ID: projects/rg-prod/regions/europe-west1/addresses/prod-cron-addr-1) | |
google_compute_disk.wp-storage: Refreshing state... (ID: wp-storage) | |
google_compute_address.prod-win-addr[0]: Refreshing state... (ID: projects/rg-prod/regions/europe-west1/addresses/prod-win-addr-1) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Acquiring state lock. This may take a few moments... | |
[0m[1mRefreshing Terraform state in-memory prior to plan...[0m | |
The refreshed state will be used to calculate this plan, but will not be | |
persisted to local or remote state storage. | |
[0m | |
[0m[1mgoogle_compute_firewall.default-hc: Refreshing state... (ID: group-http-lb-hc-0)[0m | |
[0m[1mgoogle_compute_global_address.default: Refreshing state... (ID: group-http-lb-address)[0m | |
[0m[1mgoogle_compute_network.production: Refreshing state... (ID: production-network)[0m | |
[0m[1mgoogle_compute_disk.solr-data[2]: Refreshing state... (ID: solr-data-3)[0m | |
[0m[1mgoogle_compute_disk.solr-data[1]: Refreshing state... (ID: solr-data-2)[0m |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/Changes b/Changes | |
index b43c42d..0c6a1df 100644 | |
--- a/Changes | |
+++ b/Changes | |
@@ -1,5 +1,8 @@ | |
Revision history for perl distribution Mojolicious-Plugin-PromiseActions | |
+0.08 Not Released | |
+- Only render exception if a reply wasn't already rendered. | |
+ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ perl test get / | |
[Sat Oct 20 23:21:07 2018] [debug] GET "/" (4fc6523d) | |
[Sat Oct 20 23:21:07 2018] [debug] Routing to a callback | |
here at test line 6. | |
main::__ANON__(Mojolicious::Controller=HASH(0x7f9ee2031b90)) called at /Users/marcus/.plenv/versions/5.24.0/lib/perl5/site_perl/5.24.0/Mojolicious/Controller.pm line 32 | |
Mojolicious::Controller::AUTOLOAD(Mojolicious::Controller=HASH(0x7f9ee2031b90)) called at test line 13 | |
main::__ANON__(Mojolicious::Controller=HASH(0x7f9ee2031b90)) called at /Users/marcus/.plenv/versions/5.24.0/lib/perl5/site_perl/5.24.0/Mojolicious.pm line 148 | |
Mojolicious::__ANON__(undef, Mojolicious::Controller=HASH(0x7f9ee2031b90), CODE(0x7f9ee370ee58), 1) called at /Users/marcus/.plenv/versions/5.24.0/lib/perl5/site_perl/5.24.0/Mojolicious/Plugins.pm line 15 | |
Mojolicious::Plugins::__ANON__() called at /Users/marcus/.plenv/versions/5.24.0/lib/perl5/site_perl/5.24.0/Mojolicious/Plugins.pm line 18 | |
Mojolicious::Plugins::emit_chain(Mojolicious::Plugins=HASH(0x7f9ee32635f8), "around_action", M |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ cat test | |
#!/usr/bin/env perl | |
use Mojolicious::Lite; | |
use Carp 'cluck'; | |
helper 'test' => sub { cluck 'here' }; | |
# Documentation browser under "/perldoc" | |
plugin 'PODRenderer'; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/Changes b/Changes | |
index 50519bb..279787a 100644 | |
--- a/Changes | |
+++ b/Changes | |
@@ -1,5 +1,10 @@ | |
Revision history for perl distribution Mojolicious-Plugin-PromiseActions | |
+0.06 Not Released | |
+ | |
+- Ensure we actually hold on to the tx |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env perl | |
use Mojolicious::Lite; | |
# Documentation browser under "/perldoc" | |
plugin 'PODRenderer'; | |
get '/' => sub { | |
my $c = shift; | |
$c->render(template => 'index'); | |
}; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env perl | |
use Mojolicious::Lite; | |
# Documentation browser under "/perldoc" | |
plugin 'PODRenderer'; | |
get '/' => async sub { | |
my $c = shift; | |
$c->stash(res => await($c->ua->get_p("perlmonks.org"))->res ); | |
$c->render(template => 'index'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env perl | |
use Mojolicious::Lite; | |
# Documentation browser under "/perldoc" | |
plugin 'PODRenderer'; | |
get '/' => sub { | |
my $c = shift; | |
$c->stash(listData => 1); | |
$c->render(template => 'index'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Refreshing Terraform state in-memory prior to plan... | |
The refreshed state will be used to calculate this plan, but will not be | |
persisted to local or remote state storage. | |
google_dns_managed_zone.r12-no: Refreshing state... (ID: r12-no) | |
google_compute_instance_group.dev-solr-group: Refreshing state... (ID: europe-west1-c/dev-solr-group) | |
google_dns_record_set.solr-internal[1]: Refreshing state... (ID: r12-no/dev-solr02.r12.no./A) | |
------------------------------------------------------------------------ |